const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  roles: state => state.user.roles,
  positions: state => state.user.positions,
  authorities: state => state.user.authorities,
  user: state => state.user.info,
  loaded: state => state.user.loaded,
  permission_routes: state => state.permission.routes,
  permission_modules: state => state.permission.modules,
  permission_curModule: state => state.permission.curModule,
  permission_curModuleRoutes: state => state.permission.curModuleRoutes,
  errorLogs: state => state.errorLog.logs,
  deptTree: state => state.basedata.deptTree,
  companyTree: state => state.basedata.companyTree
}
export default getters
